<include file="./Tm/Dt/Top.html" />

<include file="./Tm/Dt/Left.html" />


<div id="right">
    <include file="./Tm/Dt/Nav.html" />
    <!--主要内容块-->
    <div class="main">
        <div class="con-box">
            <div class="con-title">
                <div class="title-box clearfix">
                    <p>产品详情</p>
                    <p class="jiao"></p>
                </div>
            </div>
            <div class="panel-footer">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-md-4 ">
                            <div class="xqimg-box">
                                <img src="__PUBLIC__/Dt/image/spimg.png" alt="" />
                            </div>
                        </div>
                        <div class="col-md-6">
                            <ul class="xqzl">
                                <li>商品名称：{$room.productname}</li>
                                <li>商品价格：￥{$room.price}</li>
                                <li><button type="button"  id="submit" class="btn btn-danger" onclick="doorder('{$room.id}');">立刻购买</button>
                                    <input type="button" id="cart" class="btn btn-danger" value="加入购物车" onclick="docart('{$room.id}');">
                                </li>
                                <li>商品详情：{$room.content}</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>



<include file="./Tm/Dt/Foot.html" />

<script>
    var doorder=function(id)
    {
        location.href='/user/product_order.html?id='+id;
    }
    var docart=function(id)
    {
        location.href='/user/docart.html?id='+id;
    }
</script>